import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router);

export default new Router({
  routes: [
    // {
    //   path: '/a',
    //   name: 'home',
    //   component: resolve => require(['@/views/Home'], resolve)
    // },
    {
      path: '/',
      name: 'index',
      component: resolve => require(['@/views/index'], resolve)
    },
    {
      path: '/rule',
      name: 'rule',
      component: resolve => require(['@/views/rule'], resolve)
    },
    {
      path: '/result',
      name: 'result',
      component: resolve => require(['@/views/result'], resolve)
    },
    {
      path: '/prize',
      name: 'table',
      component: resolve => require(['@/views/table'], resolve)
    },
    {
      path: '/cprize',
      name: 'Prize',
      component: resolve => require(['@/views/prize'], resolve)
    },
    {
      path: '/appointment',
      name: 'Appointment',
      component: resolve => require(['@/views/appointment'], resolve)
    }

  ]
})
